using System;
using Microsoft.SPOT;

namespace Gadgeteer.Interfaces.Sample.Safe.SafeApp
{
    public delegate void LockStateChange(ILock sender, LockStateEventArgs args);

    public class LockStateEventArgs : EventArgs
    {
        public bool IsOpen { get; private set; }

        public LockStateEventArgs(bool isOpen)
        {
            IsOpen = isOpen;
        }
    }
}
